//package utils;
//
//import java.util.HashMap;
//import java.util.Map;
//
//import com.example.communication.R;
//
///**
// * Created by Administrator on 2015/12/24 0024.
// */
//public class ListFactory {
//    public static Map<String, ContactBean> getContactSet() {
//        String[] nameList = new String[]{"hayden", "tina", "miwa", "linda", "tracy", "rachel",
//                "peter", "rose", "kevin", "tom", "jason", "mike", "akon", "marry", "benny", "steven", "candy",
//                "rebeca", "danny", "sunny", "robot"};
//
//        int[] picList = new int[]{R.mipmap.pic_01, R.mipmap.pic_02, R.mipmap.pic_03, R.mipmap.pic_04, R.mipmap.pic_05, R.mipmap.pic_06
//                , R.mipmap.pic_07, R.mipmap.pic_08, R.mipmap.pic_09, R.mipmap.pic_10, R.mipmap.pic_11, R.mipmap.pic_12, R.mipmap.pic_13, R.mipmap.pic_14, R.mipmap.pic_15, R.mipmap.pic_16, R.mipmap.pic_17, R.mipmap.pic_18,
//                R.mipmap.pic_19, R.mipmap.pic_20, R.mipmap.pic_21};
//        Map<String, ContactBean> contactSet = new HashMap<String, ContactBean>();
//        for (int i = 0; i < nameList.length; i++) {
//            String name = nameList[i];
//            ContactBean bean = new ContactBean(name);
//            bean.pic = picList[i];
//            contactSet.put(name, bean);
//        }
//        return contactSet;
//    }
//}
